package com.xbongbong.pro.smartsettings.pojo;

import com.xbongbong.pro.domain.entity.AiAssistantHistoryEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 吴峰
 * @date 2020/09/18 14:36
 */
@Getter
@Setter
@ToString
public class AddOrUpdateHistoryPojo implements Serializable {

    private static final long serialVersionUID = 1147324771839519713L;
    /**
     * 要更新的历史记录，一般是更新执行次数
     */
    private List<AiAssistantHistoryEntity> updateList;

    /**
     * 插入的历史记录，一般是更新执行次数
     */
    private List<AiAssistantHistoryEntity> addList;

    public AddOrUpdateHistoryPojo() {
        List<AiAssistantHistoryEntity> updateList = new ArrayList<>();
        List<AiAssistantHistoryEntity> addList = new ArrayList<>();
    }
}
